package com.code.user.constant;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: YanR
 * @date: 2023/4/17
 */
public enum LoginTypeEnum {

    SMS(1, "sms"),
    CAPTCHA(2, "captcha"),
    REFRESH(3, "refresh")
    ;

    private Integer idx;

    private String type;

    LoginTypeEnum(Integer idx, String type) {
        this.idx = idx;
        this.type = type;
    }

    public Integer getIdx() {
        return idx;
    }

    public String getType() {
        return type;
    }
}
